package com.johnny.xia.util.sap;

import com.johnny.xia.util.date.DateUtil;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import lombok.Data;

/**
 * @ClassName OutboundOrder
 * @Author johnny xia
 * @mailto johnny.xia@qq.com
 * @Date 2021/9/15 12:33 下午
 * @Description TODO
 **/
@Data
public class OutboundOrder implements Serializable {

  String orderCode;
  String platformOrderCode = String.valueOf(System.currentTimeMillis());
  String platformSource = "BS";
  String storeCode;
  String customerCode = "0000000000000071";
  String orderPaymentTime = DateUtil.date2Str(new Date(),"yyyy-MM-dd HH:mm:ss");
  String platformCreateTime = DateUtil.date2Str(new Date(),"yyyy-MM-dd HH:mm:ss");
  String orderCreateTime = DateUtil.date2Str(new Date(),"yyyy-MM-dd HH:mm:ss");
  BigDecimal totalAmount;
  BigDecimal discountAmount;
  BigDecimal transFee;
  int qty;
  String orderType = "SO";
  String salesOrderType = "SO";
  String isPrePack = "false";
  String isWholeOrderOutbound = "true";
  String isForceOutbound = "false";
  String dataSource = "OMS";
  String isCod = "false";
  int codAmount = 0;
  int transtimeType = 1;
  int expressTypeCode = 1;
  String isTransUpgrade = "false";
  String isAllowDS = "false";
  String isAllowDSL = "false";
  String isDSLocked = "false";
  String includeHazardous = "false";
  String includeFragileCargo = "false";
  String buyerMessage = "Love you !!!";
  String planArriveTime = "2021-09-17 11:00:00"; //2021-09-16 11:00:00";
  int transServiceType = 1;
  String remark;
  String extProps;
  Receiver receiver;
  Sender sender;
  List<OutBoundLine> outBoundLine = new ArrayList<>();
}
